package net.araim.bbingo;

public class Shame {
	private String meetingDate;

	public String getMeetingDate() {
		return meetingDate;
	}

	public void setMeetingDate(String meetingDate) {
		this.meetingDate = meetingDate;
	}

	public String getMeetingName() {
		return meetingName;
	}

	public void setMeetingName(String meetingName) {
		this.meetingName = meetingName;
	}

	public int getSecs() {
		return secs;
	}

	public void setSecs(int secs) {
		this.secs = secs;
	}

	private String meetingName;
	private int secs;

	public String getTimeFormated() {
		int mins = (secs / 60) % 60;
		int hrs = secs / 3600;
		int rsecs = secs % 60;
		String retval = "";
		if (hrs > 0) {
			retval = hrs + "h. ";
		}
		if (hrs > 0) {
			retval += mins + "m. ";
		}
		retval += rsecs + "s.";
		return retval;
	}

}
